#include <REGX52.H>
#include "Delay.h"
#include "Key.h"
void main()
{
	unsigned char KeyNumBer=0;
	
	while(1)
	{
	    KeyNumBer=KEY_S();
		if(KeyNumBer==1)
		{
			P2=0;
			Delay(5);
		}
			if(KeyNumBer==4)
		{
			P2=0XFF;
			Delay(5);
		}
	}
}